package com.li.service;

import com.li.pojo.dto.BusinessDTO;
import com.li.pojo.dto.BusinessReasonDTO;
import com.li.pojo.po.Opportunities;
import com.li.pojo.po.OpportunitiesRecord;
import com.li.pojo.po.PageResult;
import com.li.pojo.vo.AssignmentVo;

import java.util.List;

public interface BusinessService {
    PageResult listPage(BusinessDTO businessDTO);

    PageResult poolPage(BusinessReasonDTO businessReasonDTO);

    void listSave(Opportunities opportunities);

    Opportunities find(Integer id);

    void update(Opportunities opportunities);


    void recordAdd(Opportunities opportunities);

    List<OpportunitiesRecord> recordList(Long id);


    Integer backReason(Integer id, String reason);

    void reasonGain(AssignmentVo assignmentVo);

    void Assignment(AssignmentVo assignmentVo);
}
